@mixin toast($fontSize:16px) {
    position: absolute;
    top: 45%;
    left: 50%;
    width: 250px;
    line-height: 20px;
    margin-left: -125px;
    padding: 20px 5px;
    text-align: center;
    color: #fff;
    font-size: $fontSize;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
}

* {
    box-sizing: border-box;
}

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
font,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
center,
u,
b,
i {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-weight: normal;
    font-style: normal;
    font-size: 100%;
    font-family: inherit;
    vertical-align: baseline
}

body {
    line-height: 1
}

:focus {
    outline: 0
}

ol,
ul,
li {
    list-style: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: ""
}

blockquote,
q {
    quotes: ""
}

input,
textarea {
    margin: 0;
    padding: 0
}

hr {
    margin: 0;
    padding: 0;
    border: 0;
    color: #000;
    background-color: #000;
    height: 1px
}

input,
button {
    outline: none;
}

a {
    color: #fff;
    text-decoration: none;
}

[v-cloak] {
    display: none;
}
.modal{
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 10000;
}
.modal .dialog{
    position: absolute;
    top: 35%;
    left: 35%;
    width: 30%;
    height: 220px;
    background: #fff;
    -moz-border-radius:8px;
    -ms-border-radius:8px;
    -o-border-radius:8px;
    border-radius: 8px;
    text-align: center;
    font-size: 20px;
}
.modal .dialog img{
    margin-top: 10px;
    width: 15%;
}
.modal .dialog p{
    margin-top: 10px;
}
.oneline {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.loading {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
}

.loading div {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 200px;
    margin-left: -150px;
    margin-top: -100px;
    border-radius: 10px;
    text-align: center;
}

.loading div img {
    margin-top: 50px;
}

//登录
.loginmodal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 10000;
}

.loginmodal .logindialog {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 380px;
    margin-left: -190px;
    margin-top: -214px;
    -moz-border-radius: 8px;
    -ms-border-radius: 8px;
    -o-border-radius: 8px;
    border-radius: 8px;
}

.loginEnter {
    width: 360px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    margin-top: 35px;
}

.loginEnter .logTitle li {
    text-align: center;
    font-size: 18px;
    width: 49%;
    height: 46px;
    line-height: 46px;
    color: #999;
    box-sizing: border-box;
    cursor: pointer;
}

.loginEnter .logTitle li.cur {
    color: #333;
    border-bottom: 2px solid #FF9706;
}

.loginEnter form {
    padding: 15px 20px;
}

.loginEnter form label {
    margin-bottom: 15px;
    display: block;
}

.loginEnter form label span {
    width: 100%;
    display: block;
    margin-bottom: 5px;
}

.loginEnter form label.v_code {
    display: flex;
    flex-wrap: wrap;
}

.loginEnter form label.v_code .form_control {
    width: 160px;
    margin-right: 10px;
}

.loginEnter form .code img {
    display: block;
    width: 100px;
    height: 29px;
    background: #ddd;
    margin-right: 6px;
}

.loginEnter form .code a {
    font-size: 14px;
}

.loginEnter form label .btn {
    width: 100%;
    height: 46px;
    line-height: 46px;
    font-size: 16px;
    background: #FF9706;
    border-radius: 5px;
    border: none;
}

.loginEnter form .blue {
    color: #023790;
}

.form_control {
    height: 30px;
    line-height: 30px;
    padding-left: 16px;
    display: block;
    width: 100%;
    background: #fff;
    border: 1px solid #EDEDED;
    border-radius: 2px;
    font-size: 16px;
}

.btn {
    background: #023790;
    color: #fff;
    padding: 3px 14px;
    font-family: "微软雅黑";
    cursor: pointer;
}

.veriColor1 {
    border: 1px solid #FF9706;
    color: #FF9706;
}

.veriColor2 {
    border: 1px solid #ccc;
    color: #aaa;
}

.verificationCode {
    padding: 5px;
    font-size: 14px;
    //  margin-left: 10px;
}

.w380 {
    width: 380px;
}

.modal_white {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0);
    z-index: 999999;
}

.flew {
    display: flex;
    justify-content: space-between;
}

.toast {
    @include toast;
}

//手机端
@media screen and (min-width: 320px) and (max-width: 768px) {
    .loginEnter {
        width: 350px;
        margin: 0 auto;
        margin-top: 35px;
    }
}

//苹果5手机端适配
@media screen and (max-width: 320px) {
    .loginEnter {
        width: 300px;
        margin: 0 auto;
        margin-top: 35px;
    }
}